package com.hzdl.car.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;

public class Customer implements Serializable {
    private String identity;
    private String custName;
    private Integer sex;
    private String address;
    private String phone;
    private String career;
    @JsonFormat(pattern = "YYYY-MM-dd HH:mm:ss",timezone ="GMT+8" )
    private String createTime;

    @Override
    public String toString() {
        return "Customer{" +
                "identity='" + identity + '\'' +
                ", custName='" + custName + '\'' +
                ", sex=" + sex +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                ", career='" + career + '\'' +
                ", createTime='" + createTime + '\'' +
                '}';
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCareer() {
        return career;
    }

    public void setCareer(String career) {
        this.career = career;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
